<extend name="Public:form_index_pages_layout"/>
<block name="index_search">
            <label>关键词：</label><input type="text" value="{$_REQUEST['keys']}" name="keys" class="form-control" size="15" />
             <button type="submit"  class="btn-default" data-icon="search">查询</button>
              <a class="btn btn-orange" href="javascript:;" onclick="$(this).navtab('reloadForm', true);" data-icon="undo">清空查询</a>
			  
			  <span <php>echo display(CONTROLLER_NAME.'/add');</php> style="float:right;margin-right:20px;"><a href="__URL__/edit/id/0/navTabId/{:CONTROLLER_NAME}" class="btn btn-green" data-toggle="dialog" data-width="600" data-height="600" data-id="dialog-mask" data-mask="true" data-icon="plus">新增</a></span>
		      <span class="right"><a href="__URL__/del" class="btn btn-blue" data-toggle="doajax" data-icon="arrow-up">导入</a></span>
			  

</block>

<block name="index_content">
     <table data-toggle="tablefixed" data-width="100%" data-layout-h="0" data-nowrap="true">
        <thead>
            <tr>
            <th width="30" height="30"></th>
            <th data-order-direction="asc" data-order-field="UserID">社员编号</th>
            <th>社员姓名</th>
		    <th>所在部门</th>
	    	<th>担任职务</th>
		    <th>固定电话</th>
            <th>移动电话</th>
            <th>电子邮箱</th>
			<th>权限</th>
            <th data-order-direction="desc" data-order-field="Logintime">登陆时间</th>
		    <th>登陆IP</th>
		    <th data-order-direction="desc" data-order-field="Logins">登陆次数</th>
		    <th>状态</th>
		    <th>编辑</th>
            </tr>
        </thead>
        <tbody>

          <volist id="v" name="list">
          <tr>
		   <td></td>
		   <td>{$v.id}</td>
           <td>{$v.username}</td>
		   <td>{$v.OrgName} </td>
		   <td>{$v.DepName}</td>
		   <td>{$v.tel}</td>
           <td>{$v.phone}</td>
           <td>{$v.email}</td>
		   <td>{$v.RuleGroupName} </td>
           <td>{$v.logintime}</td>
		   <td>{$v.loginip}</td>
		   <td>{$v.logins}</td>
		   <td <php>echo display(CONTROLLER_NAME.'/changeStatus');</php> ><a href="__URL__/changeStatus/id/{$v['id']}/navTabId/{:CONTROLLER_NAME}" data-toggle="doajax" data-confirm-msg="确定要操作吗？"><if condition="$v.status EQ 1 "><img src="__PUBLIC__/images/ok.gif" border="0"/><else/><img src="__PUBLIC__/images/locked.gif" border="0"/></if></a></td>
		   <td <php>echo display(CONTROLLER_NAME.'/edit');</php> > <a href="__URL__/edit/id/{$v['id']}/navTabId/{:CONTROLLER_NAME}"   class="btn btn-green btn-sm" data-toggle="dialog" data-width="600" data-height="600" data-id="dialog-mask" data-mask="true" >编辑</a></td>
         </tr> 
          </volist>
        </tbody>
    </table>
</block>
